package com.zbkj.common.request.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Auther:
 * @Date: 2024/9/24 17:46
 * @Description:
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "OrderApprovalRequest对象", description = "订单审核请求对象")
public class OrderApprovalRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("订单ID")
    @NotNull(message = "订单ID参数不能为空")
    private Long id;

    @ApiModelProperty("审核状态")
    @NotNull(message = "审核状态不能为空")
    private Integer status;

    @ApiModelProperty("拒绝原因")
    private String rejectReason;
}
